       <table width="100%" border="0">
          <tr> 
            <td width="63%">
              <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Total records: </strong><%=totalRecords%><br>
              <strong>Page Number: </strong>

<%  // Calculate and print the page numbers
        for (int i = 0; i < (totalRecords/maxRecords)+1; i++){
            if (i == pageNum) {%>
                <strong> <%=i+1%> </strong>	
         <% } else { %>
                <a href="javascript:submitInfoForm('<%=i%>', 'same')" ><%=i+1%></a>
         <% }
        }
        if (theFilters.getFilterString().equalsIgnoreCase("")){ %>
        &nbsp; 
<%      } else{  %>
          <br>
          <br>
          <strong>Filter applied:</strong><br>
          <%=theFilters.getFilterString()%> 
    <%  } %>
        </font> </td>
        <td width="37%" align="right" valign="top">
<%      // Report Design buttons
        // Show Only if Admin Mode is on
        if (adminMode.equals("true")){ %>    
            <div id="AdminOptions" style="position:absolute; width:27; z-index:2; visibility: hidden;"><br>
              <br>
              <a href="../jsp-grad/DynaForm.jsp?action=update&formName=Reports&uniqueKeyName=IdReport&uniqueKeyValue=<%=idReport%>" target="_parent"><img src="../html/images/gRAD/BarConf_Report.gif" width="27" height="27" border="0"></a><a href="../jsp-grad/DynaReport.jsp?reportName=ReportElements&parentKeyValue=<%=idReport%>&uniqueKeyValue=<%=idReport%>" target="_parent"><img src="../html/images/gRAD/BarConf_ElementsReport.gif" width="27" height="25" border="0"></a><a href="DynaForm.jsp?action=Insert&formName=ReportElement&uniqueKeyValue=<%=idReport%>&parentKeyValue=<%=idReport%>" target="_parent"><img src="../html/images/gRAD/BarConf_AddColumnToReport.gif" width="27" height="26" border="0"></a><a href="DynaReport.jsp?reportName=ReportOptions&parentKeyValue=<%=idReport%>&uniqueKeyValue=<%=idReport%>" target="_parent"><img src="../html/images/gRAD/BarConf_ListOptions.gif" width="27" height="25" border="0"></a><a href="DynaForm.jsp?action=Insert&formName=ReportOptions&parentKeyValue=<%=idReport%>" target="_parent"><img src="../html/images/gRAD/BarConf_AddOption.gif" width="27" height="25" border="0"></a><a href="javascript:;"><img src="../html/images/gRAD/BarConf_Close.gif" width="27" height="16" border="0" onClick="MM_showHideLayers('AdminOptions','','hide')"></a></div>    
              <a href="javascript:;"><img src="../html/images/gRAD/BarConf_Trigger.gif" alt="Admin tasks" width="23" height="23" border="0" onClick="MM_showHideLayers('InfoForm','','hide','AdminOptions','','show','Filter','','hide','SaveFilterLayer','','hide','FiltersCreatedLayer','','hide')"></a>
<%      } // Close the admin button if statement %>
		<%@ include file="divShowColumns.jsp" %>
     	<a href="javascript:moveLayer('ShowColumns');"><img src="../html/images/gRAD/Icon_Small_Columns.gif" width="13" height="15" border="0" onClick="MM_showHideLayers('SaveFilterLayer','','hide','FiltersCreatedLayer','','hide','ShowColumns','','show')"></a>
<%      //   Create filter box
        String filterBoxContent = theFilters.getFilterBox();
        if (!filterBoxContent.equals("")){
%>
   					<a href="javascript:moveLayer('Filter');"><img src="../html/images/gRAD/Icon_CreatedFilters.gif" alt="Create new filter" width="20" height="15" border="0" onClick="MM_showHideLayers('Filter','','show','SaveFilterLayer','','hide','FiltersCreatedLayer','','hide')"></a> 
                                            <div id="Filter" style="position:absolute; z-index:1; visibility: hidden; width: 350; left: 1px; top: 1px;"> 
                                            <form name="formFilter" method="post" action="<%=request.getContextPath() + request.getServletPath()%>"><br>
                                              <table width="100%" class="LayerFormat">
                                                <tr>
                                                        <td class="TitleLayerFormat">Create filter:</td>
                                                        <td align="right" class="TitleLayerFormat"><a href="javascript:;"><img src="../html/images/gRAD/Icon_Close.gif" width="13" height="13" border="0" onClick="MM_showHideLayers('Filter','','hide')"></a></td>
                                                </tr>
                                                <tr>
                                                  <td colspan="2"><%=filterBoxContent%> </td>
                                                </tr>
                                                <tr>
                                                  <td colspan="2">
                                                    <input type="submit" name="Submit" value="Apply filter &gt;&gt;">
                                                    <input name="forwardUrl" type="hidden" id="forwardUrl5" value="<%=thisUrl%>">
                                                    <input name="uniqueKeyValue" type="hidden" value="<%=uniqueKeyValue%>">
                                                    <input name="reportName" type="hidden" value="<%=reportName%>">
                                                    <input name="parentKeyValue" type="hidden" value="<%=parentKeyValue%>">
                                                  </td>
                                                </tr>
                                              </table>
                                            </form>
                                          </div>
                                          <% if (theFilters.getFilterString().equalsIgnoreCase("") == false && ! theFilters.getFilterSaved()){ %> <a href="javascript:moveLayer('SaveFilterLayer');"><img src="../html/images/gRAD/Icon_SaveFilter.gif" alt="Save current filter" width="25" height="15" border="0" onClick="MM_showHideLayers('FiltersCreatedLayer','','hide','SaveFilterLayer','','show','Filter','','hide')"></a> 
                                          <div id="SaveFilterLayer" style="position:absolute; z-index:1; visibility: hidden; width: 350; left: 1px; top: 1px;"> 
                                            <form name="SaveFilter" method="post" action="<%=request.getContextPath() + request.getServletPath()%>"><br>
                                              <table width="100%" class="LayerFormat">
                                                <tr>
                                                        <td class="TitleLayerFormat"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Save filter:</strong></font></td>
                                                        <td align="right" class="TitleLayerFormat"><a href="javascript:;"><img src="../html/images/gRAD/Icon_Close.gif" width="13" height="13" border="0" onClick="MM_showHideLayers('Filter','','hide','SaveFilterLayer','','hide')"></a></td>
                                                </tr>
                                                <tr>
                                                  <td colspan="2"> Filter Name:
                                                          <input name="filterName" type="text" id="filterName">
                                                  </td>
                                                </tr>
                                                <tr>
                                                  <td colspan="2">
                                                    <input type="submit" name="Submit22" value="Save filter &gt;&gt;">
                                                    <input name="forwardUrl" type="hidden" id="forwardUrl" value="<%=thisUrl%>">
                                                    <input name="uniqueKeyValue" type="hidden" value="<%=uniqueKeyValue%>">
                                                    <input name="reportName" type="hidden" value="<%=reportName%>">
                                                    <input name="filterString" type="hidden" value="<%=theFilters.getFilterString()%>">
                                                    <input name="filterConditions" type="hidden" value="<%=conditions%>">
                                                    <input name="filterAction" type="hidden" id="filterAction3" value="Save">
                                                    <input name="parentKeyValue" type="hidden" value="<%=parentKeyValue%>">
                                                  </td>
                                                </tr>
                                              </table>
                                            </form>
                                          </div>
                                          <% } %> <a href="javascript:moveLayer('FiltersCreatedLayer');"><img src="../html/images/gRAD/Icon_filter.gif" alt="Filters precreated" width="18" height="15" border="0" onClick="MM_showHideLayers('FiltersCreatedLayer','','show','SaveFilterLayer','','hide','Filter','','hide')"></a> 
                                          <div id="FiltersCreatedLayer" style="position:absolute; z-index:1; visibility: hidden; width: 350; left: 1px; top: 1px;"> 
                                            <form name="FiltersCreated" method="post" action="<%=request.getContextPath() + request.getServletPath()%>"><br>
													<table width="100%" class="LayerFormat">
                                                      <tr> 
                                                              <td class="TitleLayerFormat">Filters 
                                                                created:</td>
                                                              <td align="right" class="TitleLayerFormat"><a href="javascript:;"><img src="../html/images/gRAD/Icon_Close.gif" width="13" height="13" border="0" onClick="MM_showHideLayers('FiltersCreatedLayer','','hide','Filter','','hide')"></a></td>
                                                      </tr>
                                                      <tr> 
                                                        <td><%=theFilters.retrieveSavedFilters(reportName, netId)%> </td>
                                                      </tr>
                                                      <tr> 
                                                        <td>&nbsp; 
                                                          
                                                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                              <td>
                                                                <input type="Button" value="Apply filter &gt;&gt;" OnClick="checkSavedFilter()">
                                                                <input name="forwardUrl" type="hidden" id="forwardUrl2" value="<%=thisUrl%>">
                                                                <input name="uniqueKeyValue" type="hidden" value="<%=uniqueKeyValue%>">
                                                                <input name="reportName" type="hidden" value="<%=reportName%>">
                                                                <input name="filterAction" type="hidden" id="filterAction" value="RunCreated">
																<input name="parentKeyValue" type="hidden" value="<%=parentKeyValue%>">
                                                                </td>
                                                              <td align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="../jsp-grad/DynaReport.jsp?reportName=MyFilters" target="_parent"><img src="../html/images/gRAD/AdminFilters.gif" width="16" height="15" border="0"></a></font></td>
                                                            </tr>
                                                          </table>
                                                        </td>
                                                      </tr>
                                                    </table>
                                            </form>
                                          </div>
<%      } %> <a href="javascript:submitInfoForm('excel', 'same')"><img src="../html/images/gRAD/Icon_Export.gif" alt="Export results" width="20" height="15" border="0"></a> 
                                          <a href="javascript:window.print();"><img src="../html/images/gRAD/Icon_Print.gif" border="0" alt="Print results" width="20" height="14"></a></td>
                                      </tr>
                                    </table>
